package com.system.Service;

import com.github.pagehelper.PageInfo;
import com.system.Entity.Announcement;

import java.util.List;

public interface AnnouncementService {
    PageInfo<Announcement> getAnnouncementList(Integer pageNum, Integer pageSize, String title, String status);

    void addAnnouncement(Announcement announcement);

    void updateAnnouncement(Announcement announcement);

    void deleteAnnouncement(String announcementId);

    void updateStatus(Announcement announcement);

    List<Announcement> getAnnouncements();
}
